/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package delta.emailer;

import entity.Orders;
import java.util.List;
import javax.ejb.Local;
import javax.mail.Address;
import javax.mail.internet.MimeMessage;

/**
 *
 * @author Kate
 */
@Local
public interface EmailerLocal {

    public void sendEmail(Address[] to, String subject, String body);

    public void sendEmail(String to, String subject, String body);

    public void sendEmail(MimeMessage message);

    public void notifyWarehouseEmp(Orders order);

    public void notifyCourier(Orders order);

    public void notifyCustomer(Orders order);
}
